package com.example.productserver.sentinel;

import com.example.productserver.exception.CustomException;
import com.example.productserver.model.dto.ProductIdDTO;
import com.example.productserver.model.vo.ProductInfoVO;
import com.example.productserver.result.ResultData;

public class CommonFallback {

    public static ResultData<ProductInfoVO> fallback(ProductIdDTO productIdDTO,CustomException exception){
        throw new CustomException("===被异常降级啦===");
    }
}
